package cn.itcast.travel.domain;

import java.util.List;

public class blog {
    private int id;//博客id
    private String title;//博客标题
    private String summary;//博客内容
    private String releaseDate;//发表日期
    private String clickHit;//点击量
    private int typeId;//博客类别id
    private int bloggerid;//发表博客的用户id;
    private String pic;//博客封面
    private String typeName;//博客类别
    private String nickName;//作者昵称
    private List<comment> coms;//评论

    public List<comment> getComs() {
        return coms;
    }

    public void setComs(List<comment> coms) {
        this.coms = coms;
    }


    private int bgid;//博客id

    public int getBgid() {
        return bgid;
    }

    public void setBgid(int bgid) {
        this.bgid = bgid;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(String releaseDate) {
        this.releaseDate = releaseDate;
    }

    public String getClickHit() {
        return clickHit;
    }

    public void setClickHit(String clickHit) {
        this.clickHit = clickHit;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public int getBloggerid() {
        return bloggerid;
    }

    public void setBloggerid(int bloggerid) {
        this.bloggerid = bloggerid;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

}
